package com.example.graphic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.graphic.entity.Copywriting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文案 Mapper
 */
@Mapper
public interface CopywritingMapper extends BaseMapper<Copywriting> {
    /**
     * 根据图片ID列表批量查询文案
     * @param imageIds 图片ID列表
     * @return 文案列表
     */
    List<Copywriting> selectByImageIds(@Param("imageIds") List<Long> imageIds);
} 